Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#16070) Allow optional order parameter to apt::pin #83

Merged
merged 1 commit into from
Oct 18, 2012

Conversation

dalen
Copy link

@dalen dalen commented Aug 21, 2012

As the apt pinnings are parsed in ascending alphabetical order with
first match wins within a given scope it is useful to be able to specify
a ordering parameter. Then the name parameter can be kept to something
meaningful.

@travisbot
Copy link

This pull request fails (merged 159d50ae into 710b1c6).

@travisbot
Copy link

This pull request fails (merged 63659800 into 710b1c6).

@travisbot
Copy link

This pull request fails (merged 738a52a3 into 710b1c6).

@travisbot
Copy link

This pull request fails (merged 5a2ffe79 into 710b1c6).

@travisbot
Copy link

This pull request passes (merged 31af121 into 710b1c6).

@bodepd
Copy link

bodepd commented Aug 22, 2012

@dalen The functionality that this introduces is pretty reasonable, but I have concerns about how this would effect current apt module users that upgrade the module (it would create new files when nothing actually changed)

Is it reasonable to write this in a way that would not effect current users? (IE, only add the file prefix and '-' if an order was specified.)

@dalen
Copy link
Author

dalen commented Aug 22, 2012

Sure, that seems reasonable. I was thinking about the use case with purge_preferences_d set to true, then it doesn't really matter. But if that is false we would want to avoid creating duplicate files, yes.

As the apt pinnings are parsed in ascending alphabetical order with
first match wins within a given scope it is useful to be able to specify
a ordering parameter. Then the name parameter can be kept to something
meaningful.
@travisbot
Copy link

This pull request passes (merged 40f8755 into f3d84c6).

branan pushed a commit that referenced this pull request Oct 18, 2012
(#16070) Allow optional order parameter to apt::pin
@branan branan merged commit bd68302 into puppetlabs:master Oct 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants